/*
 * CouponDeprecatedListItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Coupon;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.CouponDeprecatedHolder;

/** 已过期红包 DisplayListItem */
public class CouponDeprecatedListItem extends DisplayListItem<CouponDeprecatedHolder, Coupon> {

    public CouponDeprecatedListItem(Coupon s) {
        super(s);
    }

    @Override
    public void onShow(Context context, CouponDeprecatedHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return CouponDeprecatedListItem.class.getSimpleName();
    }

    @Override
    public Class<CouponDeprecatedHolder> getViewHolderClazz() {
        return CouponDeprecatedHolder.class;
    }
}
